# -- coding: utf-8 --
# @time : 2023/10/26 15:05
# @author : zuoyou
# @file : __init__.py.py
# @software: pycharm


class TheRedisConfig:
    REDIS_HOST = '127.0.0.1'
    REDIS_PORT = 6379
    REDIS_PARAMS = {'password': '', 'db': 1}


class TheMysqlConfig:
    HOST = "127.0.0.1"
    PORT = 3306
    USER = "root"
    PASSWORD = "123456"
    DATABASE = "ainews"
    CHARSET = "utf8mb4"